/*
 * @Descripttion:
 * @version:
 * @Author: heqh
 * @Date: 2021-12-23 22:37:09
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-12-28 10:35:29
 */

package main

import (
	"io"
	"net/http"
)

func firstPage(w http.ResponseWriter, r *http.Request) {
	io.WriteString(w, "<h1>Hello, this is my first</h1>")
}

func main() {
	http.HandleFunc("/", firstPage)
	http.ListenAndServe(":8000", nil)
}
